package com.mysiteforme.admin.base.entity;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.mysiteforme.admin.base.DataEntity;

/**
 * <p>
 * 数据模板属性表
 * </p>
 *
 * @author wangl
 * @since 2019-02-21
 */
@TableName("model_attr")
public class ModelAttr extends DataEntity<ModelAttr> {

    private static final long serialVersionUID = 1L;

    /**
     * 新增时间
     */
	@TableField("add_date")
	private Date addDate;
    /**
     * 更新时间
     */
	@TableField("udp_date")
	private Date udpDate;
    /**
     * 新增用户
     */
	@TableField("add_uid")
	private Integer addUid;
    /**
     * 更新用户
     */
	@TableField("udp_uid")
	private Integer udpUid;
    /**
     * 模板ID
     */
	@TableField("model_id")
	private String modelId;
    /**
     * 属性名称
     */
	@TableField("attr_name")
	private String attrName;
    /**
     * 数据类型
     */
	@TableField("data_type")
	private String dataType;
    /**
     * 数值类型
     */
	@TableField("value_type")
	private String valueType;
	@TableField("number_format")
	private Integer numberFormat;
    /**
     * 单位
     */
	private String unit;
    /**
     * 公式
     */
	private String expression;
    /**
     * 顺序
     */
	@TableField("order_no")
	private Integer orderNo;
	private String memo;

	public Date getAddDate() {
		return addDate;
	}

	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}
	public Date getUdpDate() {
		return udpDate;
	}

	public void setUdpDate(Date udpDate) {
		this.udpDate = udpDate;
	}
	public Integer getAddUid() {
		return addUid;
	}

	public void setAddUid(Integer addUid) {
		this.addUid = addUid;
	}
	public Integer getUdpUid() {
		return udpUid;
	}

	public void setUdpUid(Integer udpUid) {
		this.udpUid = udpUid;
	}
	public String getModelId() {
		return modelId;
	}

	public void setModelId(String modelId) {
		this.modelId = modelId;
	}
	public String getAttrName() {
		return attrName;
	}

	public void setAttrName(String attrName) {
		this.attrName = attrName;
	}
	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}
	public String getValueType() {
		return valueType;
	}

	public void setValueType(String valueType) {
		this.valueType = valueType;
	}
	public Integer getNumberFormat() {
		return numberFormat;
	}

	public void setNumberFormat(Integer numberFormat) {
		this.numberFormat = numberFormat;
	}
	public String getUnit() {
		return unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}
	public Integer getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}
	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}


	@Override
	public String toString() {
		return "ModelAttr{" +
			", addDate=" + addDate +
			", udpDate=" + udpDate +
			", addUid=" + addUid +
			", udpUid=" + udpUid +
			", modelId=" + modelId +
			", attrName=" + attrName +
			", dataType=" + dataType +
			", valueType=" + valueType +
			", numberFormat=" + numberFormat +
			", unit=" + unit +
			", expression=" + expression +
			", orderNo=" + orderNo +
			", memo=" + memo +
			"}";
	}
}
